package com.itcast.java.coupon.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 首页专题表【jd首页下面很多专题，每个专题链接新的页面，展示专题商品信息】实体类
 *
 * @author xiaobai
 * @date 2021-06-27 19:38:46
 */
@Data
@TableName("sms_home_subject")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "SmsHomeSubjectEntity对象", description = "首页专题表【jd首页下面很多专题，每个专题链接新的页面，展示专题商品信息】")
public class SmsHomeSubjectEntity implements Serializable{

private static final long serialVersionUID=1L;

        @ApiModelProperty(value = "id")
                @TableId(value = "id", type = IdType.AUTO)
                private Long id;

        @ApiModelProperty(value = "专题名字")
    @TableField("name")
        private String name;

        @ApiModelProperty(value = "专题标题")
    @TableField("title")
        private String title;

        @ApiModelProperty(value = "专题副标题")
    @TableField("sub_title")
        private String subTitle;

        @ApiModelProperty(value = "显示状态")
    @TableField("status")
        private Boolean status;

        @ApiModelProperty(value = "详情连接")
    @TableField("url")
        private String url;

        @ApiModelProperty(value = "排序")
    @TableField("sort")
        private Integer sort;

        @ApiModelProperty(value = "专题图片地址")
    @TableField("img")
        private String img;

        }